/* 轮播图 */
.my-banner {
  height: 818px;

  a {
    display: block;
    width: 100%;
    height: 100%;

    img {
      display: block;
      width: 100%;
      height: 100%;
    }
  }
}

.swiper-scrollbar {
  height: 6px !important;
  right: 22px !important;
  background-color: #fff;

  .swiper-scrollbar-drag {
    background-color: #f5a817;
  }
}

/* 视频 */
.video-box {
  height: 823px;
  background: url("../images/index/video_bg.jpg") no-repeat center center;

  .video-par {
    height: 100%;
    position: relative;

    .video {
      width: 666px;
      height: 375px;
      background: #0C0C0C;
      position: absolute;
      left: 0;
      top: 168px;
      video{
        width: 100%;
        height: 100%;
      }
    }
  }
}

/* 品牌 */
.brand {
  a {
    display: block;
    width: 100%;

    img {
      display: block;
      width: 100%;
    }
  }
}

/* 美食 */
.delicious {
  height: 850px;
  background: url("../images/index/main01_bg.jpg") no-repeat center center;
  background-size: cover;

  .d-box {
    height: 100%;

    .db-left {
      width: 341px;
      height: 100%;
      background-color: #f6f6f6;
      box-shadow: 0 0 24px 0 rgba(45, 56, 62, 0.09);
      padding-top: 145px;

      h2 {
        height: 59px;
        background: url("../images/index/join_title.png") no-repeat center center;
        background-size: contain;
        margin-bottom: 40px;
      }

      .dbl-nav {
        padding-left: 49px;
        padding-right: 39px;

        li {
          position: relative;

          a {
            display: block;

            width: 100%;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            padding-left: 10px;

            img {
              width: 100%;
              display: block;
              margin: 0 auto;
            }
          }

          &:nth-of-type(1),
          &:nth-of-type(2) {
            margin-bottom: 30px;
          }

          &:nth-last-child(-n+3) {
            margin-bottom: 24px;
          }

          /* 加小圆点 */

          &:nth-child(n+3) {
            &:after {
              content: "";
              position: absolute;
              width: 6px;
              height: 6px;
              border-radius: 50%;
              top: 50%;
              transform: translateY(-50%);
              left: 0;
              background-color: #e71f19;
            }
          }
        }
      }
    }

    .db-right {
      width: 885px;
      height: 518px;
      //background-color: #00F7DE;
      margin-top: 212px;
      position: relative;

      /* 标题 */

      .dbr-title {
        position: absolute;
        left: 320px;
        top: -77px;
      }

      /* logo */

      .dbr-logo {
        position: absolute;
        left: 598px;
        top: -119px;
      }

      .left-box {
        width: 182px;
        height: 100%;
        background-image: url("../images/index/nav11.png");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        transition: all .2s ease-in-out;

        .par-nav {
          padding-top: 61px;

          li {
            color: #fff;
            font-size: 30px;
            text-align: center;
            margin-bottom: 41px;
            cursor: pointer;

            &.pn-active {
              color: #f5cf37;
            }
          }
        }
      }

      .right-nav {
        margin-left: 10px;

        > li {
          ul {
            width: 693px;
            display: flex;
            justify-content: space-between;
            flex-flow: wrap row;

            li {
              cursor: pointer;
              position: relative;

              img {
                display: block;
                width: 100%;
              }

              p {
                position: absolute;
                left: 0;
                bottom: 0;
                width: 100%;
                height: 40px;
                background-color: rgba(0, 0, 0, .6);
                vertical-align: bottom;
                color: #fff;

                &.p-top {
                  height: 60px;

                  i {
                    line-height: 15px;
                  }
                }

                i {
                  position: absolute;
                  bottom: 20px;
                  font-size: 20px;
                  left: 20px;
                  line-height: 5px;
                }
              }

              &:nth-of-type(1) {
                flex: 0 0 693px;
                height: 287px;
              }

              &:nth-of-type(2) {
                margin-top: 22px;
                flex: 0 0 226px;
                height: 209px;
              }

              &:nth-of-type(3) {
                margin-top: 22px;
                flex: 0 0 226px;
                height: 209px;
              }

              &:nth-of-type(4) {
                margin-top: 22px;
                flex: 0 0 226px;
                height: 209px;
              }
            }
          }
        }
      }
    }
  }

}

/* 加盟案例 */
.join {
  height: 679px;
  background: url("../images/index/join_bg2.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 99px;
  position: relative;

  h2 {
    height: 80px;
    background: url("../images/index/join_title2.png") no-repeat center center;
    background-size: contain;
    margin-bottom: 51px;
  }

  .join-banner {
    width: 1081px;

    img {
      display: block;
      width: 567px;
      height: 375px;
      margin: 0 auto;
    }

    .swiper-slide {
      transform: scale(0.85);

      &.swiper-slide-active {
        transform: scale(1) translateX(-60px);
        -webkit-transition: transform .5s ease;
        z-index: 99;
      }
    }
  }
}

/* 新闻 */
.news {
  height: 624px;
  background: url("../images/index/news_bg.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 103px;


  > div {
    position: relative;

    .news-box-big {
      width: 504px;
      background-color: #f6f6f6;
      box-shadow: 0 0 16px 0 rgba(58, 74, 80, 0.16);


      img {
        display: block;
        width: 100%;
        height: 241px;
      }

      p {
        padding: 29px 35px 16px 25px;

        i {
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
          display: block;

          &:nth-of-type(1) {
            font-size: 24px;
            color: #1e2629;

          }

          &:nth-of-type(2) {
            font-size: 16px;
            color: #4f646a;
            margin-top: 20px;
            margin-bottom: 20px;
          }

          &:nth-of-type(3) {
            font-size: 16px;
            color: #4f646a;
          }
        }
      }

    }

    .news-banner {
      right: -16px;
      bottom: -132px;
      padding: 10px 0; /* 阴影漏出 */
      position: relative;

      .news-box-small {

        width: 255px;
        background-color: #f6f6f6;
        box-shadow: 0 0 16px 0 rgba(58, 74, 80, 0.16);


        img {
          display: block;
          width: 100%;
        }

        p {
          padding: 29px 35px 16px 25px;

          i {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            display: block;

            &:nth-of-type(1) {
              font-size: 24px;
              color: #1e2629;

            }

            &:nth-of-type(2) {
              font-size: 16px;
              color: #4f646a;
              margin-top: 20px;
              margin-bottom: 20px;
            }

            &:nth-of-type(3) {
              font-size: 16px;
              color: #4f646a;
            }
          }
        }
      }

    }

    .swiper-button-prev1 {
      width: 66px;
      height: 50px;
      background-size: 66px 50px;
      background-image: url("../images/index/prev.png") !important;
      top: 31px;
      left: initial;
      right: 74px;
      outline: none
    }

    .swiper-button-next1 {
      width: 66px;
      height: 50px;
      background-size: 66px 50px;
      background-image: url("../images/index/next.png") !important;
      top: 31px;
      outline: none
    }

  }

}
